home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Forgotten Realms Archives (Silver Edition)
/
The Forgotten Realms Archives - Silver Edition.iso
/
SECRET
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-01-15
|
978b
|
46 lines
echo off
cls
echo %0
pause
if "%0.bat" == "install.bat" goto fine
echo Please change to the directory that contains the
echo Secret of the Silver Blades Program and re-run install.
echo Note: type "install" in all lower-case letters.
goto exit
:fine
if "%1" == "" goto nodrive
if "%2" == "" goto nodrive
echo Installing as %1:\%2
md %1:\%2
xcopy install.bat %1:\%2 /s
if not exist %1:\%2\install.bat goto died
copy *.* %1:\%2 >nul
if exist dungcom.dax goto cdone
:nodrive
echo Usage: install X Y
echo where X=letter of your hard disk.
echo where Y=name of the directory
echo Example: install c SECRET
goto exit
:died
echo There was an error creating %1:\%2
echo Secret of the Silver Blades was not installed.
goto exit
:wrongo
echo Install must be run from the Secret of the Silver Blades Cd only.
goto exit
:cdone
cd %1:\%2
%1:
cls
echo Secret of the Silver Blades is now installed.
echo Run START.EXE to start playing
:exit